develop login and register and improve ExceptionHandler