Login page error fixed