removed duplicated code as it is already defined in Login\Auth

Makes sure those methods will stay compatible in the future