Moved all user logic into the user module + implemented basic user authentication in the query string :/

Signed-off-by: isszul <Isszul@gmail.com>