Login control corrected..