Working on user registration and made login better. Javascript does have its uses after all.