controller update - register, login, dashboard
take this controllers to separate classes