Added login ctrl