Created sessions controller and added flash