updated the interface for login and register sections