cleaned up user login/register handlers a bit, added testkeys for development and testing purposes