Removed unnecesary functions
Session handling