added sessions resources, homepage, fixed user login in form