separate login and signup, flush tables in data.sql