Moved Logic to Model Layer

Renamed dbconn to dbconnModel,  moved User Login Logic to dbconnModel.