Removed some warning and used beanify for seassion