Remaking login form. Get rid of Configuration classes