Fixed Login Bug