add loggedin=true after user sign up
add chart title
redirect to index upon logging in and fix tests