I have a page to manage all the login, signup, etc and my plan was to redirect the user to the same page after redirect so I have used header function, code of that file: