I keep getting logged out while building a form