Added register/login feature