fixed login feature