Login and create

Add a login function and create users function. TO DO cookie