change LoginActivity InitActivity

get the information from InputStream when we log in the app