updated PostPicture to work with webapi, updated layout for login