Added register functionality
Login/registration completed (basic version)