designed login and register too