Added Vars to abstract controller and removed some logging statements. Added in database query for selecting the sign in stuf