made login mobile ready