Simple PHP Utility function such as login, database operation , session.