Fixed Login Problem