Merge pull request #4 from prakashpp/master

Flash errors when appropriate
Avoid relative import
Way to store sessions