removed redundant login controller