added initial login process to splash activity