added login function
posting story page