Refresh Database and Login Refine