Added Login control