disable readonly before create
fixing logout's redirection