username creation fixed (formatted to lowercase, with an unformatted
version saved as well). when user registers it automatically logs them
in. login activity now handles registration and facebook activity
results properly.