WIP added AJAX call for logging in