login part is completed

Login panel can connect to database and process authorization.