fixes for active sessions
fix behavior when having option multiple active sessions
add time in session creation