login activity database connection - error