-reading from db login_controller