added support for image access and updated sign in with a side image

Subhajit Sahu. 9 Feb, 2013.
created access class for db access support

Subhajit Sahu. 9 Feb, 2013.