Fixed Login Issues