added is_valid_password method
added dbapi.exception module
#21 added comments in User model