input: move request parsing into input
user: check if the username already exists in the database
user: implement user sign in
main: add sessions based on cookies