Added some ajax calls to check whether login already exists
Fixed up client side JS tests for user screens