Add login feature (not working yet).