Fixed signin csrf bug