trying to redirect to other login function