Added registration features and Login Database Check