Creating a login endpoint for asp.net api